package edu.suda.xsap.mapper;

import edu.suda.xsap.entity.ReservationSet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ReservationSetMapper {
    void save(ReservationSet reservationSet);

    void update(ReservationSet reservationSet);

    ReservationSet findById(Integer id);

    ReservationSet findByLimit(@Param("limit") Integer limit, @Param("offset") Integer offset);
}
